Optimal. Leaf size=85 \[ \frac{2 B e \tanh ^{-1}\left (\frac{\sqrt{c} x}{\sqrt{b x+c x^2}}\right )}{c^{3/2}}-\frac{2 \left (x \left (-b c (A e+B d)+2 A c^2 d+b^2 B e\right )+A b c d\right )}{b^2 c \sqrt{b x+c x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.038459, antiderivative size = 85, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125, Rules used = {777, 620, 206} \[ \frac{2 B e \tanh ^{-1}\left (\frac{\sqrt{c} x}{\sqrt{b x+c x^2}}\right )}{c^{3/2}}-\frac{2 \left (x \left (-b c (A e+B d)+2 A c^2 d+b^2 B e\right )+A b c d\right )}{b^2 c \sqrt{b x+c x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 777
Rule 620
Rule 206
Rubi steps
\begin{align*} \int \frac{(A+B x) (d+e x)}{\left (b x+c x^2\right )^{3/2}} \, dx &=-\frac{2 \left (A b c d+\left (2 A c^2 d+b^2 B e-b c (B d+A e)\right ) x\right )}{b^2 c \sqrt{b x+c x^2}}+\frac{(B e) \int \frac{1}{\sqrt{b x+c x^2}} \, dx}{c}\\ &=-\frac{2 \left (A b c d+\left (2 A c^2 d+b^2 B e-b c (B d+A e)\right ) x\right )}{b^2 c \sqrt{b x+c x^2}}+\frac{(2 B e) \operatorname{Subst}\left (\int \frac{1}{1-c x^2} \, dx,x,\frac{x}{\sqrt{b x+c x^2}}\right )}{c}\\ &=-\frac{2 \left (A b c d+\left (2 A c^2 d+b^2 B e-b c (B d+A e)\right ) x\right )}{b^2 c \sqrt{b x+c x^2}}+\frac{2 B e \tanh ^{-1}\left (\frac{\sqrt{c} x}{\sqrt{b x+c x^2}}\right )}{c^{3/2}}\\ \end{align*}
Mathematica [A] time = 0.0721098, size = 101, normalized size = 1.19 \[ \frac{2 b^{5/2} B e \sqrt{x} \sqrt{\frac{c x}{b}+1} \sinh ^{-1}\left (\frac{\sqrt{c} \sqrt{x}}{\sqrt{b}}\right )-2 \sqrt{c} (A c (b d-b e x+2 c d x)+b B x (b e-c d))}{b^2 c^{3/2} \sqrt{x (b+c x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.006, size = 113, normalized size = 1.3 \begin{align*} -2\,{\frac{Bex}{c\sqrt{c{x}^{2}+bx}}}+{Be\ln \left ({ \left ({\frac{b}{2}}+cx \right ){\frac{1}{\sqrt{c}}}}+\sqrt{c{x}^{2}+bx} \right ){c}^{-{\frac{3}{2}}}}+2\,{\frac{xAe}{b\sqrt{c{x}^{2}+bx}}}+2\,{\frac{Bxd}{b\sqrt{c{x}^{2}+bx}}}-2\,{\frac{Ad \left ( 2\,cx+b \right ) }{{b}^{2}\sqrt{c{x}^{2}+bx}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.53344, size = 532, normalized size = 6.26 \begin{align*} \left [\frac{{\left (B b^{2} c e x^{2} + B b^{3} e x\right )} \sqrt{c} \log \left (2 \, c x + b + 2 \, \sqrt{c x^{2} + b x} \sqrt{c}\right ) - 2 \,{\left (A b c^{2} d -{\left ({\left (B b c^{2} - 2 \, A c^{3}\right )} d -{\left (B b^{2} c - A b c^{2}\right )} e\right )} x\right )} \sqrt{c x^{2} + b x}}{b^{2} c^{3} x^{2} + b^{3} c^{2} x}, -\frac{2 \,{\left ({\left (B b^{2} c e x^{2} + B b^{3} e x\right )} \sqrt{-c} \arctan \left (\frac{\sqrt{c x^{2} + b x} \sqrt{-c}}{c x}\right ) +{\left (A b c^{2} d -{\left ({\left (B b c^{2} - 2 \, A c^{3}\right )} d -{\left (B b^{2} c - A b c^{2}\right )} e\right )} x\right )} \sqrt{c x^{2} + b x}\right )}}{b^{2} c^{3} x^{2} + b^{3} c^{2} x}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (A + B x\right ) \left (d + e x\right )}{\left (x \left (b + c x\right )\right )^{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.31396, size = 128, normalized size = 1.51 \begin{align*} -\frac{B e \log \left ({\left | -2 \,{\left (\sqrt{c} x - \sqrt{c x^{2} + b x}\right )} \sqrt{c} - b \right |}\right )}{c^{\frac{3}{2}}} - \frac{2 \,{\left (\frac{A d}{b} - \frac{{\left (B b c d - 2 \, A c^{2} d - B b^{2} e + A b c e\right )} x}{b^{2} c}\right )}}{\sqrt{c x^{2} + b x}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]